package com.nyt.org.modules.api.service.impl;


import com.nyt.org.modules.api.dao.SysApiUserDao;
import com.nyt.org.modules.api.model.SysApiUserModel;
import com.nyt.org.modules.api.service.SysUserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class SysUserServiceImpl implements SysUserService {

    @Autowired
    SysApiUserDao sysApiUserDao;

    @Override
    public SysApiUserModel selectOne(String accesskey) {
        SysApiUserModel sysApiUser = sysApiUserDao.selectOne(accesskey);
        return sysApiUser;
    }
}
